package com.site.model.dining;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;



/**
 * 餐厅相册
 * @author jack
 */
@Entity
@Table(name="t_restaurant_photo")
public class RestaurantPhotoInfo implements Serializable{
	
	private static final long serialVersionUID = -7017764529155736470L;
	
	private Long id;
	/*
	 * 餐厅ID
	 */
	private Long rid;
	/*
	 * 路径
	 */
	private String path;
	/*
	 * 创建时间
	 */
	private Date createdDate;
	/*
	 * 备注
	 */
	private String remark;
	
	@Id
	@GeneratedValue
	@Column(name="ID")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="R_ID")
	public Long getRid() {
		return rid;
	}
	public void setRid(Long rid) {
		this.rid = rid;
	}
	@Column(name="PATH")
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	@Column(name="CREATED_DATE")
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	@Column(name="REMARK")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}
